package top.ddandang.blog.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author D
 * @version 1.0
 * @date 2020/7/9 15:49
 */
@Data
@Accessors(chain = true)
public class IndexVo {

    @ApiModelProperty(value = "文章ID")
    private Integer id;

    @ApiModelProperty(value = "文章标题")
    private String title;

    @ApiModelProperty(value = "文章分类")
    private String categories;

    @ApiModelProperty(value = "分类图片")
    private String image;

    @ApiModelProperty(value = "文章简要描述")
    private String description;

    @ApiModelProperty(value = "是否置顶")
    private Boolean topping;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "文章点击数")
    private Integer hits;

    @ApiModelProperty(value = "文章评论数")
    private Integer commentAmount;
}
